/* eslint-disable */
<template>
	<div>
		<div class="line"></div>
		<el-menu :default-active="activeIndex2" class="el-menu-demo" mode="horizontal" @select="handleSelect"
		 background-color="#545c64" text-color="#fff" active-text-color="#ffd04b">
			<el-menu-item v-for="(item, index) in nav_items" :index="index.toString()"> {{ item.name }} </el-menu-item>
		</el-menu>
	</div>
</template>

<script>
	export default {
		name: "topnav",
		data() {
			return {
				activeIndex2: '0',
				nav_items: [{
						name: "号码查询"
					},
					{
						name: "短信群发"
					}
				]
			};
		},
		methods: {
			handleSelect(key, keyPath) {
				console.log(key, keyPath);
			}
		}
	}
</script>

<style>
</style>
